home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / graphic / pbmpl91d.zip / PBMPLUS / MAN / PNMSCALE.MAN < prev    next >
Text File  |  1993-01-08  |  2KB  |  72 lines

  1.  
  2.  
  3. pnmscale(1)                Unix Programmer's Manual                pnmscale(1)
  4.  
  5.  
  6. NAME
  7.      pnmscale - scale a portable anymap
  8.  
  9. SYNOPSIS
  10.      pnmscale s [pnmfile]
  11.               -  -------
  12.      pnmscale -xsize|-width|-ysize| -height s [pnmfile]
  13.                                             -  -------
  14.      pnmscale -xscale|-yscale s [pnmfile]
  15.                               -  -------
  16.      pnmscale -xscale|-xsize|-width s -yscale|-ysize|-height s [pnmfile]
  17.                                     -                        -  -------
  18.      pnmscale -xysize x y [pnmfile]
  19.                       - -  -------
  20.  
  21. DESCRIPTION
  22.      Reads a portable anymap as input.  Scales it by the specified  factor  or
  23.      factors  and  produces a portable anymap as output.  If the input file is
  24.      in color, the output will be too, otherwise it will  be  grayscale.   You
  25.      can both enlarge (scale factor > 1) and reduce (scale factor < 1).
  26.  
  27.      You can specify one dimension as a pixel size, and  the  other  dimension
  28.      will be scaled correspondingly.
  29.  
  30.      You can specify one dimension as a scale, and the  other  dimension  will
  31.      not be scaled.
  32.  
  33.      You can specify different sizes or scales for each axis.
  34.  
  35.      Or, you can use the special -xysize flag, which fits the image  into  the
  36.      specified size without changing the aspect ratio.
  37.  
  38.      All flags can be abbreviated to their shortest unique prefix.
  39.  
  40.      If you enlarge by a factor of 3  or  more,  you  should  probably  add  a
  41.      pnmsmooth  step;  otherwise,  you  can  see  the  original  pixels in the
  42.      ---------
  43.      resulting image.
  44.  
  45. SEE ALSO
  46.      pbmreduce(1), pnmenlarge(1), pnmsmooth(1), pnm(5)
  47.  
  48. AUTHOR
  49.      Copyright (C) 1989, 1991 by Jef Poskanzer.
  50.  
  51.  
  52.  
  53.  
  54.  
  55.  
  56.  
  57.  
  58.  
  59.  
  60.  
  61.  
  62.  
  63.  
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.                                12 January 1991                               1
  71.  
  72.